package controller4user

import (
	service4user "Gin-Gorm-boke/boke_user/yewu/service4user"
	"github.com/gin-gonic/gin"
)

func GetHotArticleList(c *gin.Context) {

	service4user.GetHotArticleList(c)
}
func GetCategoryList(c *gin.Context) {
	service4user.GetCategoryList(c)
}

func GetArticleList(c *gin.Context) {
	service4user.GetArticleList(c)
}
func GetArticleById(c *gin.Context) {
	service4user.GetArticleById(c)
}

func UpdateViewCount(c *gin.Context) {
	service4user.UpdateViewCount(c)
}

func UpdateViewCountByKafka(c *gin.Context) {
	service4user.UpdateViewCountByKafka(c)

}
